<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>床位查询</title>
</head>
<body>
	<div id="NewBedQuery">
		<span
			style="font-size: 15px; font-weight: bold; font-style: italic; text-decoration: underline;">条件查询：</span>
		<select class="easyui-combobox" prompt="科室" id="bed_query_office2"
			data-options="url:'to_QueryLiveOffice',valueField:'text',textField:'text',
			panelHeight:'auto',width:80,onChange:dynamicqueryBed2">
		</select> <select class="easyui-combobox" prompt="病房类型" id="bed_query_type2"
			data-options="url:'to_QueryAllSickroonType',valueField:'typeid',textField:'typename',
			panelHeight:'auto',width:80,onChange:dynamicqueryBed2">
		</select> <select  class="easyui-combobox" prompt="楼号" id="liveBuildID2"
			data-options="url:'to_QueryAllLiveBuild',valueField:'buildId',textField:'name',
			panelHeight:'auto',width:80,onChange:viewfloor2">
		</select> <select  class="easyui-combobox" prompt="楼层" id="liveFloor2"
			data-options="valueField:'floorId',textField:'name',onChange:dynamicqueryBed2,
			panelHeight:'auto',width:60,">
		</select> <select class="easyui-combobox" prompt="性别" id="bed_query_sex2"
			data-options="onChange:dynamicqueryBed2,
			panelHeight:'auto',width:60,">
			<option></option>
			<option>男</option>
			<option>女</option>
		</select>
	</div>


	<table class="easyui-datagrid" id="bed_query_table2" data-options="singleSelect:true,
		fitColumns: true, nowrap: false,border:false,fit:true,rownumbers:true,
		toolbar:'#NewBedQuery',onDblClickRow:decideReturnSickRoomInfoToWhere,
		pagination:true,pageList: [20,30,44],pageSize: 20
				">
		<thead>
			<tr>
				<th data-options="field:'OFFICE',width:40,align:'center'">科室</th>
				<th data-options="field:'SEX2',width:30,align:'center'">性别</th>
				<th data-options="field:'TYPENAME',width:40,align:'center'">类型</th>
				<th data-options="field:'BNAME',width:40,align:'center'">楼号</th>
				<th data-options="field:'FNAME',width:40,align:'center'">楼层</th>
				<th data-options="field:'SICKROOMNAME',width:40,align:'center'">房间号</th>
				<th data-options="field:'BEDNAME',width:40,align:'center'">床位号</th>
				<th data-options="field:'CHARGE',width:30,align:'center'">收费标准</th>
				<th data-options="field:'BEDSTATUS',width:40,align:'center'">状态</th>
			</tr>
		</thead>
	</table>
</body>
</html>